
package org.dydl.model.system;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 数据字典 table:dictitem
 * 
 * @author Hibernate Tools 3.5.0.Final
 * @version 1.0
 * @since 2016-5-30 10:14:28
 */
@Entity
@Table(name = "dictitem")
public class DictItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4185550333478289821L;
	/**
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer id;
	/**
	 * 字典代码.
	 */
	private String dictCode;
	/**
	 * 条目名称.
	 */
	private String itemName;
	/**
	 * 条目代码.
	 */
	private String itemCode;
	/**
	 */
	private String standardCode;
	/**
	 */
	private Integer itemOrder;
	/**
	 */
	private String memo;
	/**
	 */
	private Integer parentItem;
	/**
	 */
	private Integer grade;

	public DictItem() {
	}

	public DictItem(String dictCode, String itemName) {
		this.dictCode = dictCode;
		this.itemName = itemName;
	}

	public DictItem(String dictCode, String itemName, String itemCode, String standardCode, Integer itemOrder,
			String memo, Integer parentItem, Integer grade) {
		this.dictCode = dictCode;
		this.itemName = itemName;
		this.itemCode = itemCode;
		this.standardCode = standardCode;
		this.itemOrder = itemOrder;
		this.memo = memo;
		this.parentItem = parentItem;
		this.grade = grade;
	}

	/**  
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * GET 字典代码.
	 * 
	 * @return 字典代码
	 */
	public String getDictCode() {
		return this.dictCode;
	}

	/**
	 * SET 字典代码.
	 * 
	 * @param dictCode
	 *            字典代码
	 */
	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	/**
	 * GET 条目名称.
	 * 
	 * @return 条目名称
	 */
	public String getItemName() {
		return this.itemName;
	}

	/**
	 * SET 条目名称.
	 * 
	 * @param itemName
	 *            条目名称
	 */
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	/**
	 * GET 条目代码.
	 * 
	 * @return 条目代码
	 */
	public String getItemCode() {
		return this.itemCode;
	}

	/**
	 * SET 条目代码.
	 * 
	 * @param itemCode
	 *            条目代码
	 */
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	/**  
	 */
	public String getStandardCode() {
		return this.standardCode;
	}

	/**
	 */
	public void setStandardCode(String standardCode) {
		this.standardCode = standardCode;
	}

	/**  
	 */
	public Integer getItemOrder() {
		return this.itemOrder;
	}

	/**
	 */
	public void setItemOrder(Integer itemOrder) {
		this.itemOrder = itemOrder;
	}

	/**  
	 */
	public String getMemo() {
		return this.memo;
	}

	/**
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/**  
	 */
	public Integer getParentItem() {
		return this.parentItem;
	}

	/**
	 */
	public void setParentItem(Integer parentItem) {
		this.parentItem = parentItem;
	}

	/**  
	 */
	public Integer getGrade() {
		return this.grade;
	}

	/**
	 */
	public void setGrade(Integer grade) {
		this.grade = grade;
	}

}
